package cn.eric.framework.ajax;

import java.util.List;

public class EricContextInnerResponse<T> {
    private List<T> result;
    private EricContext context;

    public EricContextInnerResponse() {
    }

    public EricContextInnerResponse(List<T> result, EricContext context) {
        this.result = result;
        this.context = context;
    }

    @Override
    public String toString() {
        return "EricContextInnerResponse{" +
                "result=" + result +
                ", context=" + context +
                '}';
    }

    public List<T> getResult() {
        return result;
    }

    public void setResult(List<T> result) {
        this.result = result;
    }

    public EricContext getContext() {
        return context;
    }

    public void setContext(EricContext context) {
        this.context = context;
    }
}
